package com.ruoyi.dormitory.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 宿舍物品对象 dormitory_items
 * 
 * @author ruoyi
 * @date 2023-04-26
 */
public class DormitoryItems extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物品编号 */
    @TableId
    private Long itemNumber;

    /** 宿舍号 */
    @Excel(name = "宿舍号")
    private String dormitoryNumber;

    /** 物品使用者编号 */
    @Excel(name = "物品使用者编号")
    private Long employeeNumber;

    /** 物品名称 */
    @Excel(name = "物品名称")
    private String itemName;

    /** 物品类型 */
    @Excel(name = "物品类型")
    private Long itemType;

    /** 物品状态 */
    @Excel(name = "物品状态")
    private String itemState;

    public void setItemNumber(Long itemNumber) 
    {
        this.itemNumber = itemNumber;
    }

    public Long getItemNumber() 
    {
        return itemNumber;
    }

    public String getDormitoryNumber() {
        return dormitoryNumber;
    }

    public void setDormitoryNumber(String dormitoryNumber) {
        this.dormitoryNumber = dormitoryNumber;
    }

    public void setEmployeeNumber(Long employeeNumber)
    {
        this.employeeNumber = employeeNumber;
    }

    public Long getEmployeeNumber() 
    {
        return employeeNumber;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }
    public void setItemType(Long itemType) 
    {
        this.itemType = itemType;
    }

    public Long getItemType() 
    {
        return itemType;
    }
    public void setItemState(String itemState) 
    {
        this.itemState = itemState;
    }

    public String getItemState() 
    {
        return itemState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("itemNumber", getItemNumber())
            .append("dormitoryNumber", getDormitoryNumber())
            .append("employeeNumber", getEmployeeNumber())
            .append("itemName", getItemName())
            .append("itemType", getItemType())
            .append("itemState", getItemState())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
